#include "Mesh.hpp"
#include "Shader.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>


#ifndef OBJECT
#define OBJECT
class Object : public Mesh
{
	public:
	Object(int meshMode){mode = meshMode; shader = NULL;}
	Object(){shader = NULL;}
	void SetShader(Shader* sh){shader = sh; Update();}
	Shader* GetShader(){return shader;}
	void Update();
	void Draw();
	void SetColor(Vector3 ColorIn);
	Vector3 color;
	protected:
	
	private:
	
	void FixCamera();
	GLint vertexPositionLocation, vertexNormalLocation;
	Shader* shader;
};
#endif


